import React, { PureComponent } from 'react';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import * as ctns from 'containers';
import style from './app.css';

class App extends PureComponent {
  render() {
    return (
      <Router basename="/">
        {/* eslint-disable jsx-a11y/no-static-element-interactions */}
        <div className={style.app} onClick={this.hideMenu}>
          <Route path="/" component={ctns.List} exact />
        </div>
      </Router>
    );
  }
}

export default App;
